﻿using System;
using System.Windows.Forms;
using System.Drawing;

namespace WinToastr.Sample
{
    public partial class WinToastrSample : Form
    {
        public WinToastrSample()
        {
            InitializeComponent();
            this.ddlMessageType.SelectedIndex = 1;
        }

        private void Show_Click(Object sender, EventArgs e)
        {
            Toastr.Delay = Int32.Parse(this.txtDelay.Value.ToString());
            ToastrType type = ToastrType.Info;
            Font font = this.Font;
            Toastr.Show(this, type, font, this.txtMessage.Text);
        }
    }
}
